<?
$pages = $this->pages;
$current = $this->current;
?>
<div id="page">
    <div class="navigation" style="margin-top: 0pt;">
        <ul id="searchTabsBox" class="search_tabs_box" style="margin-left: 0pt;">

            <? foreach ($pages as $page): ?>
            <? $style = $page['id'] == $current ? 'class="current"' : null ?>
            <li <?= $style ?>>
                <a class="topmenu" href="/index/page/id/<?= $page['id'] ?>"><?= $page['translation'][0]['title'] ?></a>
            </li>
            <? endforeach; ?>

        </ul>

    </div>
</div>